//%module(package="Scopes") "Scopes::Net"
%{
   #include "array.h"
   #include "net.h"

/*   arrayI8* new_arrayI8(SV* sv){
      return new arrayI8();
   }*/
%}
%newobject getNeighbors;
%newobject getMetabolites;
%import array.h
%rename(c_net) Net;
/*%rename(c_addRea) addRea;
%rename(c_replaceRea) replaceRea;
%rename(c_delRea) delRea;
%rename(c_hasRea) hasRea;
%rename(c_setMembers) setMembers;
%rename(c_setChannels) setChannels;
%rename(c_setName) setName;
%rename(c_getNeighbors) getNeighbors;
%rename(c_getMetabolites) getMetabolites;
%rename(c_succs) succs;
%rename(c_preds) preds;
%rename(c_substrates) substrates;
%rename(c_products) products;
%rename(c_inhibitors) inhibitors;
%rename(c_inhibited) inhibited;
%rename(c_catalysts) catalysts;
%rename(c_propagators) propagators;
%rename(c_subs_stoich) subs_stoich;
%rename(c_prod_stoich) prod_stoich;
%rename(c_members) members;
%rename(c_channels) channels;
%rename(c_name) name;
%rename(c_rev) rev;
%rename(c_setSubstrates) setSubstrates;
%rename(c_setProducts) setProducts;
%rename(c_setInhibitors) setInhibitors;
%rename(c_setCatalysts) setCatalysts;
%rename(c_setInhibited) setInhibited;
%rename(c_setPropagators) setPropagators;
%rename(c_enabled) enabled;*/

%import netstruct.h
%include net.h

